﻿namespace ProjectScheduling_web.model
{
    public class Staff : BClass
    {
        public string? TrueName { get; set; }
        public string? Sex { get; set; }
        public string? Age { get; set; }
        public int UserId { get; set; }
        public string? Phone { get; set; }
        public DateTime CreateTime { get; set; }
        public override string ToString()
        {
            var p = string.IsNullOrEmpty(Phone) ? "" : $"（{Phone}）";
            return $"{TrueName}{p}";
        }
    }
}
